package com.tanhua.dubbo.server.api;


import com.tanhua.dubbo.server.pojo.UserFreeze;

import java.util.List;
import java.util.Map;

public interface UserFreezeApi {

    /**
     * 冻结用户
     *
     * @param userFreeze
     * @return
     */
    Boolean freezeUser(UserFreeze userFreeze);

    /**
     * 解冻用户
     *
     * @param
     * @return
     */
    Boolean unfreezeUser(Integer userId,String reasonsForThawing);

    /**
     * 查询冻结用户状态
     *
     * @param
     * @return
     */
    Boolean findFreezeStatue(Integer userId);

    Map<Integer,String> findFreezeStatueByIds(List ids);
<<<<<<< Updated upstream

    Map<Integer, Long> findUserLastTimeByIds(List<Long> ids);
=======
>>>>>>> Stashed changes
}
